s = input("请输入字符串:")
d = {}
for i in s:
    d[i]=d.get(i,0)+1
print(d)



